package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程套餐对象 m_course
 * 
 * @author ruoyi
 * @date 2023-12-25
 */
public class MCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课目名 */
    @Excel(name = "课目名")
    private String coursename;

    /** 课时 */
    @Excel(name = "课时")
    private Long totaltime;

    /** 上课类型 */
    @Excel(name = "上课类型")
    private String clssstype;

    /** 套餐ID */
    private Long courseid;

    public void setCoursename(String coursename) 
    {
        this.coursename = coursename;
    }

    public String getCoursename() 
    {
        return coursename;
    }
    public void setTotaltime(Long totaltime) 
    {
        this.totaltime = totaltime;
    }

    public Long getTotaltime() 
    {
        return totaltime;
    }
    public void setClssstype(String clssstype) 
    {
        this.clssstype = clssstype;
    }

    public String getClssstype() 
    {
        return clssstype;
    }
    public void setCourseid(Long courseid) 
    {
        this.courseid = courseid;
    }

    public Long getCourseid() 
    {
        return courseid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("coursename", getCoursename())
            .append("totaltime", getTotaltime())
            .append("clssstype", getClssstype())
            .append("courseid", getCourseid())
            .toString();
    }
}
